package com.TestDemo.Test1;

public class 逻辑移动 {
    public static void main(String[] args) {

        System.out.println("----------------------------------");
        System.out.println("32>>>2:"+ (32>>>2));
        System.out.println("32>>>-5:"+ (32>>>-5)); // 32>>>-5:0
        System.out.println("-32>>>2:"+ (-32>>>2));
        System.out.println("-32>>>1:"+ (-32>>>1));
        System.out.println("-2>>>1:"+ (-2>>>1));
        System.out.println("-1>>>1:"+ (-1>>>1));

        System.out.println("-32>>2:"+ (-32>>2));
        System.out.println("-32<<2:"+ (-32<<2));


        System.out.println("----------------------------------");
    }
}
